#include"Sir.h"
Sir::Sir()
{
    dim=strlen(sir) +1;
    char q[100],i=0;
    ifstream sf;
    sf.open("sir.txt",ios::in);
    sf >> q;
    this->sir[i]=q[0];
    ++i;
    while (!sf.eof( ))
    {
         sf >> q;
         this->sir[i]=q[0];
         i++;
    }
    this->sir[i]='\0';

    sf.close( );

}
ostream &operator<<(ostream &fl, Sir &obiect)
{
    fl<<obiect.sir;
    return fl;
}
